ACCEPTANCE MAP — JSON SCHEMA VERSION 1

This is an explicit small grammar, not a framework or test runner.
All described fields are required unless marked optional. Additional
fields are rejected to avoid silently overlooking misunderstood input.

TOP-LEVEL OBJECT
schemaVersion: the integer 1; true is not accepted as an integer.
title: single-line nonempty string, 120 characters maximum.
phases: array of 1–12 phase objects.
criteria: array of 1–30 criterion objects.

PHASE OBJECT
id: identifier, unique among phases.
name: nonempty single-line string, 80 characters maximum.
owner: nonempty single-line string, 80 characters maximum; a role is fine.
Every phase must be referenced by at least one obligation.

CRITERION OBJECT
id: identifier, unique among criteria.
text: nonempty single-line string, 500 characters maximum.
obligations: array of 1–12 obligation objects.
e2e_test: optional nonempty single-line string, 500 characters maximum.
e2e_test is REQUIRED if obligations reference more than one phase.

OBLIGATION OBJECT
id: identifier, unique among ALL obligations in the plan.
phase: identifier referencing one defined phase.
test: nonempty single-line string, 500 characters maximum. Use a name or
description of a check. It is plain text and is never executed.

IDENTIFIERS
1–64 ASCII characters, beginning with a letter. The remaining characters
may be letters, digits, underscores or hyphens. Example: AC-button.
Criterion, phase and obligation identifiers use separate categories;
obligation IDs must be unique across all criteria, not just one criterion.

TEXT RULES
No leading/trailing whitespace, line breaks or ASCII control characters.
Use UTF-8 encoding, valid JSON, unique object keys and no NaN/Infinity.
The validator checks presence/shape/references, not truth or test quality.

FILE RULES
One regular file in the current directory. 64 KiB (65,536 bytes) maximum.
Use a simple ASCII filename ending in .json, 100 characters maximum,
starting with a letter or digit; later characters may include letters,
digits, underscores, hyphens and dots. No '..', directory paths, drive
prefixes, symlinks or special files. Example: acceptance-plan.json.
The input is read as data only. No commands, tests, scripts, external
files, URLs or network calls are executed or followed.

OUTPUT
validStructure: whether the grammar and reference checks succeeded.
scope: the reminder that checks were not run and implementation was not
verified. defects: paths and explanations of structural problems.
reviewChecklist: planned owners/check names only for valid structures.
For highly defective input, at most 100 defects are shown; the number
omitted is reported. A rejected input never receives a valid result.

Exit 0 = valid structure, 1 = structural defects, 2 = file/JSON/usage error.
Exit 0 does not certify correctness, readiness, ownership acceptance,
test execution or a business outcome. The schema does not award GOLD,
LESSON credits, access codes or administrative rights.
